<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="com.sport.po.Manager" %>
<%@page import="com.sport.po.User" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Home</title>
<!-- Custom Theme files -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //Custom Theme files -->
<link href="css/bootstrap.css" type="text/css" rel="stylesheet" media="all">
<link href="css/style.css" type="text/css" rel="stylesheet" media="all">
<!-- js -->
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap-3.1.1.min.js"></script>
<!-- //js -->	
<!-- cart -->
<script src="js/simpleCart.min.js"> </script>
<!-- cart -->
</head>
<body>
	<!--header-->
	<%
	
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";

	User user=(User)session.getAttribute("user");
	Manager manager=(Manager)session.getAttribute("manager");
	if(manager!=null){
	%>
	<jsp:include page="/manager/header.jsp"></jsp:include>
	<%} else{%>
			<jsp:include page="/center/header.jsp"></jsp:include>
		
		<%} %>
	
	<!--//header-->
	<!--banner-->
	<div class="banner">
		<div class="container">
			<h2 class="hdng">Let's <span> sport</span> !</h2>
			<p>强健身材源于Let's</p>
			<a href="course.jsp">进入健身世界</a>
			<div class="banner-text">			
				<img src="images/2.jpg" alt=""/>	
			</div>
		</div>
	</div>			
	<!--//banner-->
	<!--subscribe-->
	<div class="subscribe">
		 <div class="container">
			 <h3>订阅我们</h3>
			 <form>
				 <input type="text" class="text" value="Email" onFocus="this.value = '';" onBlur="if (this.value == '') {this.value = 'Email';}">
				 <input type="submit" value="一键订阅">
			 </form>
		 </div>
	</div>
	<!--//subscribe-->

	
</body>
</html>